<%@ page language="java" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>用户登陆</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
  </head>
  <body>
  	<center>
  		<form action="user/login.do" method="post" name="myForm">
  			<table>
  				<caption>用户登陆</caption>
  				<tr>
  					<td colspan="2" align="center"><font color="red">${requestScope.failure }</font></td>
  				</tr>
  				<tr>
  					<td>用户名:</td>
  					<td><input type="text" name="userName"/></td>
  				</tr>
  				<tr>
  					<td>密&nbsp;&nbsp;码:</td>
  					<td><input type="password" name="passWord"/></td>
  				</tr>
  				<tr>
  					<td colspan="2" align="center">
  						<input type="reset" value="重置"/>&nbsp;&nbsp;&nbsp;&nbsp;
  						<input type="submit" value="确定"/>
  					</td>
  				</tr>
  			</table>
  		</form>
  	</center>
  </body>
</html>
